#pragma once

#include "BasicType.h"
#include "Stream.h"
#include "Character.h" 

namespace LightPlayer{

	struct SPRITE_DEFINITION : public Character {
		uint16			m_CharacterId;
		uint16			m_FrameCount;
		Stream			m_ControlTags;

		SPRITE_DEFINITION();
		void init();
		void readFromStream(Stream* stream, const TAG& actual_tag);
		virtual eCharacterType getType() const {return eSpriteCharacter;}
		virtual uint16 getCharacterId() const {return m_CharacterId;};
	};

};